package com.chenyaowei.happyhub.mapper;

import com.chenyaowei.happyhub.pojo.wechatuser.Account;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface AccountMapper {
    Account selectAccountByOpenid(@Param("openid") String openid);
    List<Account> selectAccount(@Param("keyword") String keyword);
    void updateAccount(@Param("isLogin") String isLogin,@Param("isPay") String isPay,@Param("id") String id);
    void insertAccount(Account account);
}
